cmake_minimum_required(VERSION 2.8)

project(cmlibrtmp)

include_directories(include)
include_directories(.)
set(LIBRTMP ${CMAKE_SOURCE_DIR}/lib/srs_librtmp.a)

add_executable(cmlibrtmp
    srs_h264_raw_publish.c
	srs_librtmp.cpp
	)

target_link_libraries(cmlibrtmp
	${LIBRTMP} dl
	)
